let mapData = [
    {
        map:[
            [0,0,1,1,1,0,0,0,0],
            [0,1,1,2,2,1,1,0,0],
            [0,1,0,0,0,0,1,0,0],
            [0,1,0,0,0,0,1,0,0],
            [0,1,1,1,1,1,1,0,0]
        ],
        man:{x:2,y:2},
        box:[{x:4,y:2},{x:3,y:2}],
        auto:[40, 39, 38, 40, 39, 38]
    },
    {
        map:[
            [0,1,1,1,1,1,0,0],
            [0,1,0,0,1,1,1,0],
            [0,1,0,0,0,0,1,0],
            [1,1,1,0,1,0,1,1],
            [1,2,1,0,1,0,0,1],
            [1,2,0,0,0,1,0,1],
            [1,2,0,0,0,0,0,1],
            [1,1,1,1,1,1,1,1]
        ],
        man:{x:2,y:2},
        box:[{x:3,y:2},{x:2,y:5},{x:5,y:6}],
        auto:[38, 39, 40, 40, 38, 39, 39, 40, 40, 39, 40, 40, 37, 37, 38, 37, 37, 40, 
            37, 38, 39, 39, 39, 40, 37, 37, 39, 39, 39, 39, 38, 38, 37, 38, 38, 37, 37, 
            40, 40, 38, 38, 39, 39, 40, 40, 39, 40, 40, 37, 38, 38, 37, 38, 37, 37]
    },
    {
        //0是地板，1是墙，2是目标
        map:[
            [0,0,1,1,1,0,0,0],
            [0,0,1,2,1,0,0,0],
            [0,0,1,0,1,1,1,1],
            [1,1,1,0,0,0,2,1],
            [1,2,0,0,0,1,1,1],
            [1,1,1,1,0,1,0,0],
            [0,0,0,1,2,1,0,0],
            [0,0,0,1,1,1,0,0]
        ],
        man:{x:4,y:4},
        box:[{x:3,y:3},{x:5,y:3},{x:3,y:4},{x:4,y:5}],
        auto:[37,37,39,38,38,40,39,39,37,40,40]
    },
    {
        map:[
            [0,0,0,1,1,1,1,1,1,0],
            [0,1,1,1,0,0,0,0,1,0],
            [1,1,2,0,0,1,1,0,1,1],
            [1,2,2,0,0,0,0,0,0,1],
            [1,2,2,0,0,0,0,0,1,1],
            [1,1,1,1,1,1,0,0,1,0],
            [0,0,0,0,0,1,1,1,1,0]
        ],
        man:{x:8,y:3},
        box:[{x:4,y:2},{x:3,y:3},{x:4,y:4},{x:5,y:3},{x:6,y:4}],
        auto:[37, 37, 37, 40, 37, 37, 37, 39, 38, 40, 39, 39, 38, 37, 37, 37, 39, 39, 
            39, 39, 39, 38, 38, 38, 37, 37, 37, 40, 37, 40, 40, 39, 39, 38, 37, 37, 
            39, 39, 39, 39, 40, 37, 37, 37, 37]
    },
    {
        map:[
            [1,1,1,1,1,0,0,0,0],
            [1,0,0,0,1,0,0,0,0],
            [1,0,0,0,1,0,1,1,1],
            [1,0,0,0,1,0,1,2,1],
            [1,1,1,0,1,1,1,2,1],
            [0,1,1,0,0,0,0,2,1],
            [0,1,0,0,0,1,0,0,1],
            [0,1,0,0,0,1,1,1,1],
            [0,1,1,1,1,1,0,0,0]
        ],
        man:{x:1,y:1},
        box:[{x:2,y:2},{x:3,y:2},{x:2,y:3}],
        auto:[39,39,40,40,40,40,39,40,40,37,37,38,39,40,39,38,37,38,39,39,39,40,39,38,38]
    },
    {
        map:[
            [1,1,1,1,1,1,1,0,0],
            [1,0,0,0,0,0,1,0,0],
            [1,0,0,0,0,1,1,0,0],
            [1,0,0,1,2,2,1,1,1],
            [1,1,0,0,2,2,0,0,1],
            [0,1,0,0,0,0,0,0,1],
            [0,1,1,1,1,1,1,1,1]
        ],
        man:{x:3,y:5},
        box:[{x:2,y:2},{x:3,y:2},{x:4,y:2},{x:6,y:4}],
        auto:[38, 37, 38, 37, 38, 38, 39, 39, 39, 40, 40, 39, 40, 37, 38, 38, 38, 37, 37, 
            37, 39, 40, 39, 38, 39, 40, 40, 39, 40, 40, 37, 38, 40, 37, 37, 38, 39, 39, 40, 
            39, 38, 37, 37, 37, 38, 37, 38, 38, 38, 39, 39, 39, 40, 40, 38, 38, 37, 37, 37, 
            40, 39, 39, 38, 39, 40, 37, 37, 40, 40, 40, 39, 39, 39, 39, 39, 38, 37]
    },
    {
        map:[
            [0,1,1,1,1,1,1,1,0,0],
            [0,1,0,0,0,0,0,1,1,1],
            [1,1,0,1,1,1,0,0,0,1],
            [1,0,0,0,0,0,0,0,0,1],
            [1,0,2,2,1,0,0,0,1,1],
            [1,1,2,2,1,0,0,0,1,0],
            [0,1,1,1,1,1,1,1,1,0]
        ],
        man:{x:2,y:3},
        box:[{x:2,y:2},{x:4,y:3},{x:7,y:3},{x:6,y:4}],
        auto:[39, 39, 39, 40, 40, 39, 39, 38, 37, 39, 38, 37, 38, 38, 37, 37, 37, 37, 40, 
            40, 37, 40, 39, 38, 39, 40, 38, 37, 38, 38, 39, 39, 39, 39, 40, 40, 37, 37, 37, 
            39, 39, 39, 38, 38, 37, 37, 37, 37, 40, 40, 40, 38, 39, 39, 39, 39, 40, 40, 37, 
            38, 39, 38, 37, 37, 37, 39, 39, 39, 38, 38, 37, 37, 37, 37, 40, 40, 37, 40, 39, 
            38, 39, 39, 39, 39, 39, 39, 38, 37, 40, 37, 37, 37, 37, 37, 38, 38, 39, 39, 39, 
            39,40, 39, 40, 37, 37, 37, 37, 39, 39, 39, 38, 38, 37, 37, 37, 37, 40, 40]
    },
    {
        map:[
            [0,0,1,1,1,1,1,1,1,1],
            [0,0,1,0,0,0,1,2,0,1],
            [0,1,1,0,0,0,2,2,2,1],
            [0,1,0,0,0,0,1,0,2,1],
            [1,1,0,1,1,0,1,0,1,1],
            [1,0,0,0,0,0,0,0,0,1],
            [1,0,0,0,1,0,0,0,0,1],
            [1,1,1,1,1,1,1,0,0,1],
            [0,0,0,0,0,0,1,1,1,1]
        ],
        man:{x:7,y:7},
        box:[{x:5,y:2},{x:4,y:3},{x:5,y:4},{x:4,y:5},{x:7,y:5}],
        auto:[38,37,37,38,37,37,40,37,37,38,39,38,38,39,38,39,39,39,39,38,39,40,37,40,40,40,37,37,38,38,40,40,37,37,40,37,37,38,39,38,38,
        39,38,39,39,39,39,40,40,40,39,40,40,37,38,38,38,38,38,37,37,37,37,40,37,40,40,39,39,39,39,40,39,38,38,38,40,40,37,37,38,38,38,37,
        37,40,39,37,37,40,40,39,39,39,38,38,37,38,39]
    },
    {
        map:[
            [0,0,0,0,1,1,1,1,1,1,1,0],
            [0,0,0,0,1,0,0,1,0,0,1,0],
            [0,0,0,0,1,0,0,0,0,0,1,0],
            [1,1,1,1,1,0,0,1,0,0,1,0],
            [1,2,2,2,1,0,0,0,0,0,1,1],
            [1,2,0,0,1,0,0,0,1,0,0,1],
            [1,0,0,0,0,0,0,0,0,0,0,1],
            [1,2,0,0,1,0,0,0,1,0,0,1],
            [1,2,2,2,1,1,0,1,0,0,1,1],
            [1,1,1,1,1,0,0,0,0,0,1,0],
            [0,0,0,0,1,0,0,1,0,0,1,0],
            [0,0,0,0,1,1,1,1,1,1,1,0]
        ],
        man:{x : 5, y : 10},
        box:[{x:5,  y:6},
            {x:6,  y:3},
            {x:6,  y:5},
            {x:6,  y:7},
            {x:6,  y:9},
            {x:7,  y:2},
            {x:8,  y:2},
            {x:9,  y:6}],
        auto:[38, 39, 39, 39, 38, 39, 39, 38, 38, 37, 37, 37, 37, 37, 37, 40, 37, 38, 38, 37, 
            38, 39, 40, 40, 39, 39, 39, 39, 39, 40, 38, 39, 39, 40, 40, 37, 40, 37, 38, 37, 38, 
            38, 39, 38, 37, 37, 37, 37, 38, 37, 40, 40, 37, 40, 39, 38, 38, 39, 39, 39, 39, 39, 38, 
            38, 37, 40, 39, 40, 37, 37, 37, 37, 37, 40, 37, 38, 38, 39, 40, 39, 39, 39, 39, 39, 39, 
            39, 40, 40, 37, 40, 40, 39, 38, 38, 38, 39, 38, 37, 37, 37,37, 37, 37, 37, 38, 37, 40, 
            40, 38, 39, 39, 39, 39, 39, 39, 39, 37, 37, 38, 38, 38, 39, 39, 40, 39, 40, 37, 37, 37, 
            37, 37, 37, 37, 40, 37, 38, 38, 40, 39, 39, 39, 38, 38, 38, 38, 39, 40, 40, 40, 39, 40, 
            37, 37, 37, 37, 37, 38, 37, 40, 40, 38, 39, 39, 39, 39, 39, 38, 38, 39, 39, 39, 38, 38, 
            38, 37, 40, 37, 37, 38, 37, 37, 40, 40, 40, 40, 39, 40, 37, 37, 37, 37, 38, 37, 40, 39, 
            38, 39, 40, 39,39,39, 39, 38, 38, 39, 38, 39, 38, 37, 37, 37, 38, 37, 40, 40, 40, 40, 39, 
            40, 37, 37, 37, 40, 37, 38, 39, 38, 37]
            
    },
    {
        map:[
            [0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0],
            [0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0],
            [0, 0, 0, 0, 1, 2, 2, 2, 2, 1, 0, 0, 1, 1, 0],
            [0, 0, 0, 0, 1, 2, 2, 2, 2, 1, 0, 0, 0, 1, 0],
            [0, 0, 0, 0, 1, 2, 2, 2, 2, 0, 0, 0, 0, 1, 0],
            [0, 0, 0, 0, 1, 0, 2, 2, 2, 1, 0, 0, 0, 1, 0],
            [1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1],
            [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1],
            [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
            [1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1],
            [0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0],
            [0, 0, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0],
            [0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0]
        ],
        man:{x:10,y:1},
        box:[{x:10,y:2},{x:11,y:3},{x:10,y:4},{x:2,y:7},{x:4,y:7},{x:8,y:7},
            {x:5,y:8},{x:6,y:8},{x:10,y:8},{x:12,y:8},{x:4,y:9},{x:6,y:9},
            {x:8,y:9},{x:7,y:10},{x:9,y:10}],
        auto:[]
    }
];